﻿using log4net;
using System;

namespace ExamPlat.DAL
{
    public static class Log4Helper
    {
        public static void Info(object message, Exception exception = null)
        {
            ILog log = LogManager.GetLogger("infoAppender");
            if (exception == null)
                log.Info(message);
            else
                log.Info(message, exception);
        }
    }
}